package com.wechat.service.quartz.service;

import org.quartz.SchedulerException;

public interface ITriggerUtil {
	
	/**
	 * 修改表达式
	 * @param newCron
	 * @param jobId
	 */
	void updateCron(String newCron,String jobId) throws SchedulerException;
	
	/**
	 * 修改运行状态
	 * @param taskRun
	 * @param jobId
	 */
	void updateRunStatus(Boolean taskRun,String jobId) throws SchedulerException;
	
}
